package com.dashu.base.enums.common.functionAM;

import java.util.HashMap;
import java.util.Map;

public enum DeviceAM {

    DEVICE_DELORADD("设备添加/删除", "equipment/equipmentList", "equipmentList", ""),
    STUDENT_UP("设备修改", "equipment/equipmentList", "equipmentList", "");


    public String name;

    public String url;

    public String path;

    public String icon;


    DeviceAM(String name, String url, String path, String icon) {
        this.name = name;
        this.url = url;
        this.path = path;
        this.icon = icon;
    }

    public static final Map<String, DeviceAM> map = new HashMap<>();

    static {
        for (DeviceAM s : DeviceAM.values()) {
            map.put(s.name(), s);
        }
    }
}
